from django.contrib import admin
from django.urls import path
from app01 import views
from django.conf.urls import url,include
from django.shortcuts import HttpResponse

urlpatterns = [
    #path('admin/', admin.site.urls),
    url(r'^login',views.login),
    url(r'^main',views.main),
    url(r'^more_data',views.more_data),
    url(r'^get_data',views.get_data),
    url(r'^post_data',views.post_data),
    url(r'^modal_add_device',views.modal_add_device),
    url(r'^logout',views.logout),
    url(r'^api/v1/application/gnss/data/$',views.Dataget.as_view()),
    url(r'^captcha',include('captcha.urls')),
    url(r'^index',views.index),
    url(r'^map',views.map),
    url(r'^getpoint',views.getpoint),
    url(r'^test',views.test),
    url(r'^trash$',views.trash),
    url(r'^trashcan/post$',views.deviceDatasChanged),
    url(r'^temcomp',views.temcomp),
    url(r'^electric$',views.electricLorapost),
    url(r'^filter$',views.filter),
    url(r'^getLineData',views.getLineData),
    url(r'^eleslinedata',views.singlepower),
    url(r'^writedaliycons$',views.writedaliycons),
    url(r'^sinenegrydata$',views.sinenegrydata),
    url(r'^totalenegrydata$',views.totalenegrydata),
    url(r'^totalpower$',views.totalpower),
    url(r'^datalistdata$',views.datalistdata),
    url(r'^singleyeardata$',views.singleyeardata),
    url(r'^totalyeardata$',views.totalyeardata),
    url(r'^getmonthenergy$',views.getmonthenergy),


    ]
